import request from '@/utils/request'
import {encrypt} from "@/utils/jsencrypt";
export function findAll(DTO) {
  return request({
    url: '/find/user/page',
    method: 'get',
    params: DTO
  })
}
export function deleteBatch(ids) {
  return request({
    url: '/user/delete/batch',
    method: 'post',
    data: ids
  })
}
export function deleteUser(id) {
  return request({
    url: '/user/delete',
    method: 'get',
    params: id
  })
}
export function addUser(user) {
  return request({
    url: '/user/add',
    method: 'get',
    params: user
  })
}
export function updateUser(user) {
  return request({
    url: '/user/update',
    method: 'get',
    params: user
  })
}
